<template>
	<!--{{$t('plus.rules')}}-->
	<view class="p30">
		<view class="title">

		</view>
		<view class="content p30 bg-white f30 lh200 radius8" v-html="detail">

		</view>
	</view>
</template>

<script>
	import utils from '@/common/utils.js';
	export default {
		data() {
			return {
				detail: '',
			}
		},
		onShow(){
			uni.setNavigationBarTitle({
			title: this.$t('plus.rules')
		})
		},
		mounted() {
			uni.showLoading({
				title: this.$t('plus.loading')
			});
			/*获取优惠券列表*/
			this.getData();
		},
		methods: {
			getData() {
				let self = this;
				self._get('plus/sign/sign/getSign', {}, function(res) {
					/*详情内容格式化*/
					res.data = utils.format_content(res.data);
					self.detail = res.data;
					self.loadding = false;
					uni.hideLoading();
				});
			}
		}
	}
</script>

<style>

</style>